/**
 * Created by zxd on 2017/12/7.
 */



function createCode(){

    var nums=$("#nums").val();
    var batch=$("#batch").val();
    var gold=$("#gold").val();

    if(nums=="" || batch=="" || gold==""){
        return false;
    }


    $.ajax({
        type: "post",
        data: {"nums":nums,"batch":batch,"gold":gold},
        url: "../../php/vip/createRandCode.php",
        beforeSend: function(){
            //$("#load").css("display","block");
        },
        success: function(msg){
            $("#tishi").modal("show");
        },error:function(msg){

        }
    });
}
